package com.example.demo.dao;

import com.example.demo.bean.UserBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/*
 *
 *   @Author:max
 *   @Date: 2024/3/4-03-04-21:12
 *
 */
@Mapper
public interface IUserLoginDao {

    @Select("SELECT * FROM users WHERE username = #{username} And password = #{password}")
    UserBean selectByNameAndPass(UserBean userBean);

}
